package com.xd.core.company.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xd.common.base.SignPublicQuery;
import com.xd.common.util.AESUtil;
import com.xd.core.api.entity.BeneficiaryElectronic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class RegisterDto extends SignPublicQuery {
    @ApiModelProperty(value = "电子账户申请信息ID")
    private Integer id;

    @ApiModelProperty(value = "企业ID")
    private Integer companyId;

    @ApiModelProperty(value = "电子开户证件类型")
    private String legalIdType;

    @ApiModelProperty(value = "证件号")
    private String legalIdcard;

    @ApiModelProperty(value = "证件有效起始日期")
    private Date legalIdcardStartExpired;

    @ApiModelProperty(value = "证件到期日期")
    private Date legalIdcardExpired;

    @ApiModelProperty(value = "业务联系人姓名")
    private String businessName;

    @ApiModelProperty(value = "业务联系人证件类型")
    private String businessIdType;

    @ApiModelProperty(value = "业务联系人身份证号")
    private String businessIdcard;

    @ApiModelProperty(value = "业务联系人身份证号有效期(到期时间)")
    private Date businessIdcardExpired;

    @ApiModelProperty(value = "业务联系人手机号")
    private String businessMobile;

    @ApiModelProperty(value = "企业联系详细地址")
    private String street;

    @ApiModelProperty(value = "企业联系地址-省")
    private Integer province;
    @ApiModelProperty(value = "企业联系地址-省")
    private String provinceName;

    @ApiModelProperty(value = "企业联系地址-市")
    private Integer city;
    @ApiModelProperty(value = "企业联系地址-市")
    private String cityName;

    @ApiModelProperty(value = "企业联系地址-区")
    private Integer country;
    @ApiModelProperty(value = "企业联系地址-区")
    private String countryName;

    @ApiModelProperty(value = "企业规模")
    private String orgSize;

    @ApiModelProperty(value = "企业经济性质")
    private String orgEconomy;

    @ApiModelProperty(value = "行业")
    private String orgIndustry;

    @ApiModelProperty(value = "上市类型")
    private String orgListing;

    @ApiModelProperty(value = "股东/受益人")
    private List<BeneficiaryElectronic> beneficiaryElectronics;

    @ApiModelProperty(value = "上传文件号")
    private String fileNo;

    @ApiModelProperty(value = "上传文件路径")
    private String filePath;
    //----------------------------------------------------
//
//    @ApiModelProperty(value = "企业名称")
//    private String companyName;
//    @ApiModelProperty(value = "企业邮箱")
//    private String companyEmail;
//    @ApiModelProperty(value = "统一社会信用代码")
//    private String unifiedSocialCreditCode;
//    @ApiModelProperty(value = "营业执照有效期开始")
//    private String businessLicenseStartExpired;
//    @ApiModelProperty(value = "营业执照有效期结束")
//    private String businessLicenseExpired;
//    @ApiModelProperty(value = "企业住所")
//    private String locationOfEnterprise;
//    @ApiModelProperty(value = "注册资本")
//    private String registeredCapital;
//    @ApiModelProperty(value = "经营范围")
//    private String businessType;
}
